package com.Program;

import java.util.ArrayList;
import java.util.List;

public class TaoCan {
    public String type;
    public TaoCan(String type,int time, int GB, int message, double money) {
        this.type=type;
        this.time = time;
        this.GB = GB;
        this.message = message;
        this.money = money;
    }

    public TaoCan() {
    }

    // class HighBreakfast{
        int time;
         int GB;
        int message;
        double money;


    @Override
    public String toString() {
        return "TaoCan{" +"类型"+type+
                "时间=" + time +
                ", 流量=" + GB +
                ", 消息数=" + message +
                ", 话费=" + money +
                '}';
    }
}
